iconhelper: Refactor ensure_surface()
authorBenjamin Otte <otte@redhat.com>
Sun, 29 Nov 2015 23:55:43 +0000 (00:55 +0100)
committerBenjamin Otte <otte@redhat.com>
Tue, 1 Dec 2015 23:29:30 +0000 (00:29 +0100)
commitafad393b15631b18f76708599deb2ea0f097620c
tree7276b1d50a05ca3da6573b087e93ab6ff3ac6554
parent2ce67f00983a5205adec2d4b637c3968f7a5989c
iconhelper: Refactor ensure_surface()

Make gtk_icon_helper_ensure_surface() a private function that just
ensures the surface was loaded.

Add gtk_icon_helper_load_surface() that is called by the above function
and the dnd code to actually load the surface.
gtk/gtkdnd.c
gtk/gtkiconhelper.c
gtk/gtkiconhelperprivate.h